* {
  margin: 0;
  padding: 0;
}
#wrap {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  background: pink;
}
#wrap .inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 200px;
  height: 200px;
  background: deeppink;
}
#wrap .inner2 {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 200px;
  height: 200px;
  background: deeppink;
}
